<%--
  Created by IntelliJ IDEA.
  User: 浮槎北冥海茫茫
  Date: 2021/7/9
  Time: 10:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<!-- 网页使用的语言 -->
<html lang="zh-CN">
<head>

    <!-- 指定字符集 -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>修改用户</title>

    <link href="css/bootstrap.min.css" rel="stylesheet">
    <script src="js/jquery-2.1.0.min.js"></script>
    <script src="js/bootstrap.min.js"></script>

</head>
<body>
<div class="container" style="width: 400px;">
    <h3 style="text-align: center;">修改用户</h3>
    <form action="${pageContext.request.contextPath}/updateUserServlet" method="post">
        <div class="form-group">

            <input type="hidden" id="id" name="id" value="${user.id}">
        </div>
        <div class="form-group">
            <label for="username">用户名</label>
            <input type="text" class="form-control" id="username" name="username" value="${user.username}"  placeholder="请输入用户名" />
        </div>
        <div class="form-group">
            <label for="password">密码：</label>
            <input type="password" name="password" class="form-control" id="password" value="${user.password}" placeholder="请输入密码"/>
        </div>
        <div class="form-group">
            <label for="remark">用户描述</label>
            <input type="text" class="form-control" id="remark" name="remark" value="${user.remark}"  placeholder="请输入用户名" />
        </div>
        <div class="form-group">
            <label for="position">地位号</label>
            <input type="text" class="form-control" id="position" name="position" value="${user.position}"  placeholder="请输入用户名" />
        </div>




        <div class="form-group" style="text-align: center">
            <input class="btn btn-primary" type="submit" value="提交" />
<%--            <input class="btn btn-default" type="reset" value="重置" />--%>
<%--            <input class="btn btn-default" type="button" value="返回"/>--%>
        </div>
    </form>
</div>
</body>
</html>